import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import { MarketCarRoutingModule } from './market-car-routing.module';
import { MarketCarListComponent } from './market-car-list/market-car-list.component';
import { MarketCarDetailComponent } from './market-car-detail/market-car-detail.component';
import { MarketCarLevelListComponent } from './level-list/level-list.component';
import { MarketCarLevelEditComponent } from './level-edit/level-edit.component';
import { MarketCarService } from '@core/routes-services/market-car.service';

const COMPONENTS = [
  MarketCarListComponent,
  MarketCarLevelListComponent];
const COMPONENTS_NOROUNT = [
  MarketCarDetailComponent,
  MarketCarLevelEditComponent];

@NgModule({
  imports: [
    SharedModule,
    MarketCarRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT,
  providers:[
    MarketCarService
  ]
})
export class MarketCarModule { }
